package com.sqlist.shareserver.service;

import com.sqlist.shareserver.domain.User;

public interface UserService {

    /**
     * 注册
     * @param user
     * @return
     */
    User register(User user);

    /**
     * 登录
     * @param user
     * @return
     */
    User login(User user);
}
